<?php if (!defined('SHUIPF_VERSION')) exit(); ?>
<Admintemplate file="Common/Head"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
    <Admintemplate file="Common/Nav"/>
    <form class="J_ajaxForm" action="{:U('Menu/index')}" method="post">
        <div class="table_list">
            <table width="100%">
                <colgroup>
                    <col width="80">
                    <col width="100">
                    <col>
                   <!-- <col width="80">-->
                    <col width="350">
                </colgroup>
                <thead>
                <tr>
                    <td>排序</td>
                    <td>ID</td>
                    <td>地区名称</td>
                   <!-- <td>状态</td>-->
                    <td>管理操作</td>
                </tr>
                </thead>

                <foreach name="categorys" item="v">
                    <tr>
                        <td align='center'><input name='{$v.linkageid}' type='text' size='3' value='{$v.siteid}' class='input'></td>
                        <td align='center'>{$v.linkageid}</td>
                        <td >{$v.name}</td>
                        <!-- <td align='center'>\$status</td>-->
                        <td align='center'>
                            <a href="{:U('Categroy/seek', array('parentid' =>$v[linkageid]))}">查看下级分类</a> |
                            <a href="{:U('Categroy/addcity', array('linkageid' =>$v[linkageid],'name'=>$v[name]))}">添加子分类</a> |
                            <a href="{:U('Categroy/cityedit', array('linkageid' =>$v[linkageid]))}">修改</a> |
                            <a class="J_ajax_del" href="{:U('Categroy/delete', array('linkageid' =>$v[linkageid]))}">删除</a>
                        </td>
                    </tr>


                </foreach>


            </table>
            <div class="p10"><div class="pages"> {$Page} </div> </div>

        </div>
        <div class="btn_wrap">
            <div class="btn_wrap_pd">
                <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">排序</button>
            </div>

        </div>
    </form>

</div>
<script src="{$config_siteurl}statics/js/common.js?v"></script>
</body>
</html>